package com.mars.push.core.service;


import com.mars.push.core.request.PushRequest;

public interface PushService {

    /**
     * 消息推送(单推)
     *
     * @param req req
     * @return boolean
     */
    boolean singlePush(PushRequest req) throws Exception;


    /**
     * 获取AccessToken
     *
     * @return String
     */
    String getAccessToken() throws Exception;
}
